home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 4 / Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso / Communications / General / DialScript / Examples / dtrtest.ds < prev    next >
Text File  |  1994-03-08  |  641b  |  27 lines

  1. -- This script should make your modem's TR light flash-- if your modem has
  2. -- one, is wired correctly, and is NOT set to pull DTR high all the time.
  3. -- I'm not sure if it will work on a Mac older than a plus.  If it does
  4. -- (or does not) send email to newton@cs.utexas.edu and tell me!
  5.  
  6. script dtrtest
  7.  
  8. state one
  9.    display "starting-- watch the appropriate light on your modem,\r";
  10.    display "           if you have one (and the right cable)!\r";
  11.    set dtr off;
  12.    delay 1;
  13.    set dtr on;
  14.    delay 1;
  15.    set dtr off;
  16.    delay 1;
  17.    set dtr on;
  18.    delay 1;
  19.    set dtr off;
  20.    delay 1;
  21.    set dtr on;
  22.    display "done";
  23.    stop;
  24. end;
  25.  
  26. end;
  27.